package cn.iocoder.yudao.module.shop.controller.admin.itemcount.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 项目计数 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class ShopItemCountBaseVO {

    @Schema(description = "会员id", requiredMode = Schema.RequiredMode.REQUIRED, example = "16805")
    @NotNull(message = "会员id不能为空")
    private Long userId;

    @Schema(description = "项目id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2098")
    @NotNull(message = "项目id不能为空")
    private Long itemId;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "数量不能为空")
    private Integer num;

}
